package com.jing.intellij.apama

import com.intellij.ui.JBColor
import com.intellij.ui.TextIcon
import java.awt.Font
import javax.swing.Icon

class Icons {

    companion object {

        fun apamaIcon(): Icon {
            return textIcon("A")
        }

        fun eplIcon(): Icon {
            return textIcon("E")
        }

        fun textIcon(text: String): Icon {
            val icon = TextIcon(text, JBColor.WHITE, JBColor.BLUE, 4)
            icon.setFont(Font(Font.DIALOG, Font.PLAIN, 10))
            return icon
        }
    }
}